<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
  <%
  request.setAttribute("accessPath", request.getContextPath());
%>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">

  <title>考勤管理系统</title>
  <link href="${ requestScope['accessPath']}/fontcss/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  <link href="${ requestScope['accessPath']}/fontcss/bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
  <%-- <link href="${ requestScope['accessPath']}/fontcss/dist/css/timeline.css" rel="stylesheet">
  --%>
  <link href="${ requestScope['accessPath']}/fontcss/dist/css/sb-admin-2.css" rel="stylesheet">
  <%-- <link href="${ requestScope['accessPath']}/fontcss/bower_components/morrisjs/morris.css" rel="stylesheet">
  --%>
  <link href="${ requestScope['accessPath']}/fontcss/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"></head>
  <c:set value="${sessionScope['baseInfo']}" var="_baseInfo"/>
  <c:set value="${_baseInfo.menuList }" var="_menuList" />
<body>
  <div id="wrapper">
    <div class="navbar-default sidebar" role="navigation">
      <div class="sidebar-nav navbar-collapse" >
        <ul class="nav in" id="side-menu">
        <c:forEach items="${_menuList}" var="menu">
	          <li>
	            <a href="#"> <i class="fa fa-bar-chart-o fa-fw"></i>
	              	${menu.menuName }
	              <span class="fa arrow"></span>
	            </a>
	            <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
	            	<c:forEach items="${menu.submenuList }" var="v">
		              <li>
		                <a href="javascript:postwith('${v.menuUri }')" target="mainFrame">${v.menuName}</a>
		              </li>
	              </c:forEach>
	            </ul>
	          </li>
          </c:forEach>
		<%-- 
          <li>
            <a href="#"> <i class="fa fa-bar-chart-o fa-fw"></i>
              考勤概况
              <span class="fa arrow"></span>
            </a>
            <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
              <li>
                <a href="javascript:postwith('/examine/printDayPage')" target="mainFrame">当日考勤记录</a>
              </li>
              <li>
                <a href="javascript:postwith('/examine/printYearPage')" target="mainFrame">学期考勤记录</a>
              </li>
            </ul>
          </li>

          <li>
            <a href="#">
              <i class="fa fa-bar-chart-o fa-fw"></i>
              信息导入
              <span class="fa arrow"></span>
            </a>
            <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
              <li>
                <a href="insert/insertClass" target="mainFrame">班级信息导入</a>
              </li>
              <li>
                <a href="insert/insertStudent" target="mainFrame">学生信息导入</a>
              </li>
              <li>
                <a href="insert/insertTeacher" target="mainFrame">教师信息导入</a>
              </li>
              <li>
                <a href="insert/insertDormitory" target="mainFrame">寝室信息导入</a>
              </li>
              <li>
                <a href="insert/updateDormitory" target="mainFrame">寝室长信息导入</a>
              </li>
            </ul>
          </li>

          <li>
            <a href="#">
              <i class="fa fa-bar-chart-o fa-fw"></i>
              寝室考勤
              <span class="fa arrow"></span>
            </a>
            <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
              <li>
                <a href="dormCheck/queryDormMenber" target="mainFrame">当日考勤</a>
              </li>
              <li>
                <a href="dormCheck/queryDormCheckins" target="mainFrame">修改当日考勤</a>
              </li>
			  <li>
                <a href="query/dormTCheckDormDRecord" target="mainFrame">寝室辅导员查看当日考勤</a>
              </li>
              <li>
                <a href="query/dormTCheckDormDRecordC" target="mainFrame">班主任查看当日考勤</a>
              </li>
              <!--
              <li>
                <a href="query/dormTCheckDormYRecord" target="mainFrame">学期考勤</a>
              </li>-->
            </ul>
          </li>
          --%>
        </ul>
      </div>
    </div>
  </div>
  <!-- /#wrapper -->

  <!-- jQuery -->
  <script src="${ requestScope['accessPath']}/fontcss/bower_components/jquery/dist/jquery.min.js"></script>

  <!-- Bootstrap Core JavaScript -->
  <script src="${ requestScope['accessPath']}/fontcss/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

  <!-- Metis Menu Plugin JavaScript -->
  <script src="${ requestScope['accessPath']}/fontcss/bower_components/metisMenu/dist/metisMenu.min.js"></script>

  <!-- Morris Charts JavaScript -->
  <%-- <script src="${ requestScope['accessPath']}/fontcss/bower_components/raphael/raphael-min.js"></script>
<script src="${ requestScope['accessPath']}/fontcss/bower_components/morrisjs/morris.min.js"></script>
<script src="${ requestScope['accessPath']}/fontcss/js/morris-data.js"></script>
--%>
<!-- Custom Theme JavaScript -->
<script src="${ requestScope['accessPath']}/fontcss/dist/js/sb-admin-2.js"></script>

	<!-- 自定义JS -->
    <script src="${ requestScope['accessPath']}/js/common/common.js"></script>
</body>

</html>